import http from "@/utils/request";

export default {
  //获取
  async getYjbbbList(pageNo, pageSize, startDate, endDate) {
    return await http.get("/api/yjbbb/listToYjbbb", { pageNo, pageSize, startDate, endDate });
  },
  //新增
  async addYjbbb(params) {
    return await http.post("/api/yjbbb/add", params);
  },
  //修改
  async updateYjbbb(params) {
    return await http.put("/api/yjbbb/update", params)
  },
  //删除
  async deleteYjbbb(params) {
    return await http.delete("/api/yjbbb/delete/{id}", params)
  },
};
